package org.phantom.securityframework.api;

import java.util.List;

public interface ResourceManager {

	public void add(Resource resource);
	public void addAll(Resource[] resources);
	public List<Resource> list();
	public List<Permission> getAllPermission(Resource resource);
	public Resource get(int id);
	public Resource get(String res);
}